#!/bin/sh

for h in `echo $@`
do
    echo startting vm stats on $h 
    ssh -t openstack@$h "sudo -b nohup ./vmstat.sh &> /tmp/vmstats.log"
done
